package com.ruoyi.system.domain;

import java.io.Serializable;

/**
 * 单词分类实体
 */
public class WordCategory implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;  // 分类名称（水果、动物）
    private String iconUrl;  // 分类图标URL

    public WordCategory() {}

    public WordCategory(Long id, String name, String iconUrl) {
        this.id = id;
        this.name = name;
        this.iconUrl = iconUrl;
    }

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getIconUrl() { return iconUrl; }
    public void setIconUrl(String iconUrl) { this.iconUrl = iconUrl; }

    @Override
    public String toString() {
        return "WordCategory{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", iconUrl='" + iconUrl + '\'' +
                '}';
    }
}
